package com.example.pdfdemo

import android.os.Bundle
import android.support.v7.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)

        btOffice.setOnClickListener {
            FileServiceActivity.startThis(this, FileServiceActivity.OFFICE)
        }

        btGoole.setOnClickListener {
            FileServiceActivity.startThis(this, FileServiceActivity.GOOGLE)
        }

        btMozilla.setOnClickListener {
            FileServiceActivity.startThis(this, FileServiceActivity.MOZILLA)
        }


        btPDFjs2.setOnClickListener {
            CoustomActivity.startThis(this)
        }
    }
}
